package com.ruoyi.product.domain.Shopping;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 营销设置对象 marketing
 * 
 * @author ruoyi
 * @date 2024-07-29
 */
public class Marketing extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 商品销量 */
    @Excel(name = "商品销量")
    private Long sales;

    /** 排序 */
    @Excel(name = "排序")
    private Long sort;

    /** 购买送积分 */
    @Excel(name = "购买送积分")
    private Long integral;

    /** 关联用户标签 */
    @Excel(name = "关联用户标签")
    private String associateUserTags;

    /** 付费会员专属 */
    @Excel(name = "付费会员专属")
    private Long exclusiveToPaidMembers;

    /** 起购数量 */
    @Excel(name = "起购数量")
    private Long minimumPurchaseQuantity;

    /** 是否限购 */
    @Excel(name = "是否限购")
    private Long purchase;

    /** 限购类型 */
    @Excel(name = "限购类型")
    private Long purchaseRestrictionType;

    /** 限购数量 */
    @Excel(name = "限购数量")
    private Long purchaseLimit;

    /** 预售商品 */
    @Excel(name = "预售商品")
    private Long preSale;

    /** 预售活动开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "预售活动开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date preSaleStarttime;

    /** 预售活动结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "预售活动结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date preSaleEndtime;

    /** 发货时间 */
    @Excel(name = "发货时间")
    private Long shippingTime;

    /** 商品推荐 */
    @Excel(name = "商品推荐")
    private String productRecommendations;

    /** 活动优先级 */
    @Excel(name = "活动优先级")
    private String activityPriority;

    /** 雪花id用于和其他表连接 */
    @Excel(name = "雪花id用于和其他表连接")
    private String snowflakesId;

    /** 单独设置 */
    @Excel(name = "单独设置")
    private Long ddsz;

    /** 一级返佣 */
    @Excel(name = "一级返佣")
    private String yjfy;

    /** 二级返佣 */
    @Excel(name = "二级返佣")
    private String ejfy;

    /** 会员价 */
    @Excel(name = "会员价")
    private String hyj;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setSales(Long sales) 
    {
        this.sales = sales;
    }

    public Long getSales() 
    {
        return sales;
    }
    public void setSort(Long sort) 
    {
        this.sort = sort;
    }

    public Long getSort() 
    {
        return sort;
    }
    public void setIntegral(Long integral) 
    {
        this.integral = integral;
    }

    public Long getIntegral() 
    {
        return integral;
    }
    public void setAssociateUserTags(String associateUserTags) 
    {
        this.associateUserTags = associateUserTags;
    }

    public String getAssociateUserTags() 
    {
        return associateUserTags;
    }
    public void setExclusiveToPaidMembers(Long exclusiveToPaidMembers) 
    {
        this.exclusiveToPaidMembers = exclusiveToPaidMembers;
    }

    public Long getExclusiveToPaidMembers() 
    {
        return exclusiveToPaidMembers;
    }
    public void setMinimumPurchaseQuantity(Long minimumPurchaseQuantity) 
    {
        this.minimumPurchaseQuantity = minimumPurchaseQuantity;
    }

    public Long getMinimumPurchaseQuantity() 
    {
        return minimumPurchaseQuantity;
    }
    public void setPurchase(Long purchase) 
    {
        this.purchase = purchase;
    }

    public Long getPurchase() 
    {
        return purchase;
    }
    public void setPurchaseRestrictionType(Long purchaseRestrictionType) 
    {
        this.purchaseRestrictionType = purchaseRestrictionType;
    }

    public Long getPurchaseRestrictionType() 
    {
        return purchaseRestrictionType;
    }
    public void setPurchaseLimit(Long purchaseLimit) 
    {
        this.purchaseLimit = purchaseLimit;
    }

    public Long getPurchaseLimit() 
    {
        return purchaseLimit;
    }
    public void setPreSale(Long preSale) 
    {
        this.preSale = preSale;
    }

    public Long getPreSale() 
    {
        return preSale;
    }
    public void setPreSaleStarttime(Date preSaleStarttime) 
    {
        this.preSaleStarttime = preSaleStarttime;
    }

    public Date getPreSaleStarttime() 
    {
        return preSaleStarttime;
    }
    public void setPreSaleEndtime(Date preSaleEndtime) 
    {
        this.preSaleEndtime = preSaleEndtime;
    }

    public Date getPreSaleEndtime() 
    {
        return preSaleEndtime;
    }
    public void setShippingTime(Long shippingTime) 
    {
        this.shippingTime = shippingTime;
    }

    public Long getShippingTime() 
    {
        return shippingTime;
    }
    public void setProductRecommendations(String productRecommendations) 
    {
        this.productRecommendations = productRecommendations;
    }

    public String getProductRecommendations() 
    {
        return productRecommendations;
    }
    public void setActivityPriority(String activityPriority) 
    {
        this.activityPriority = activityPriority;
    }

    public String getActivityPriority() 
    {
        return activityPriority;
    }
    public void setSnowflakesId(String snowflakesId) 
    {
        this.snowflakesId = snowflakesId;
    }

    public String getSnowflakesId() 
    {
        return snowflakesId;
    }
    public void setDdsz(Long ddsz) 
    {
        this.ddsz = ddsz;
    }

    public Long getDdsz() 
    {
        return ddsz;
    }
    public void setYjfy(String yjfy) 
    {
        this.yjfy = yjfy;
    }

    public String getYjfy() 
    {
        return yjfy;
    }
    public void setEjfy(String ejfy) 
    {
        this.ejfy = ejfy;
    }

    public String getEjfy() 
    {
        return ejfy;
    }
    public void setHyj(String hyj) 
    {
        this.hyj = hyj;
    }

    public String getHyj() 
    {
        return hyj;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("sales", getSales())
            .append("sort", getSort())
            .append("integral", getIntegral())
            .append("associateUserTags", getAssociateUserTags())
            .append("exclusiveToPaidMembers", getExclusiveToPaidMembers())
            .append("minimumPurchaseQuantity", getMinimumPurchaseQuantity())
            .append("purchase", getPurchase())
            .append("purchaseRestrictionType", getPurchaseRestrictionType())
            .append("purchaseLimit", getPurchaseLimit())
            .append("preSale", getPreSale())
            .append("preSaleStarttime", getPreSaleStarttime())
            .append("preSaleEndtime", getPreSaleEndtime())
            .append("shippingTime", getShippingTime())
            .append("productRecommendations", getProductRecommendations())
            .append("activityPriority", getActivityPriority())
            .append("snowflakesId", getSnowflakesId())
            .append("ddsz", getDdsz())
            .append("yjfy", getYjfy())
            .append("ejfy", getEjfy())
            .append("hyj", getHyj())
            .toString();
    }
}
